// pages/personal/set_up/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    nicke_name:'昵称',    
    sex:'性别',
    pass_name:'密码',
    area:'地域',
    reviseName:'',
    isHidden:true
  },
  onReady(){
    var that=this
    that.revise=that.selectComponent("#revise")
  },
  Handlefit(e){
    var that=this
    that.setData({
      isHidden:false
    })
    
    console.log("点击修改按钮后:")
    console.log
    console.log(e.currentTarget.dataset.text)
    that.setData({
      // 获取当前要修改的名称
      reviseName:e.currentTarget.dataset.text
    })
  }

 
})